import { View } from "@tarojs/components";
import UserTag from "../user/UserTag";
import { useCustomTheme } from "@/context/ThemeContext";

export default () => {
  const { theme } = useCustomTheme();
  return (
    <View>
      <UserTag
        data={{
          avatar: "https://img.yzcdn.cn/vant/cat.jpeg",
          follow: "123",
          articleNum: "20",
          userName: "瑶瑶混日子",
        }}
        right
      />
      <View className="pl-6 flex flex-col gap-1 mt-2">
        <View>最后一个是sb</View>
        <View>11-07</View>
        <View
          className="p-2 rounded-xl"
          style={{ backgroundColor: theme.cardBackgroundColor ?? "#ccc" }}
        >
          <View>贴吧用户：爱巢</View>
        </View>
      </View>
    </View>
  );
};
